import Vue from 'vue';
import App from './App.vue';
import router from './router';

// import axios from 'axios';
// axios.defaults.baseURL = 'http://www.xxxxx.cn';  //配置根域名
// Vue.prototype.$ajax = axios;  //把axios挂载到Vue的原型上

Vue.config.productionTip = false;


import comps from './components/index.js';
for(let key in comps) {
  Vue.component(key, comps[key]);
}

new Vue({
  router,
  render: h => h(App)
})
.$mount('#appMain');
